package calculator;

public class MinusExpression extends BinaryExpression {

	public MinusExpression(IExpression left, IExpression right)
	{
		super(left, right);
	}
	
	@Override
	public Double calculate() {
		return left.calculate() - right.calculate();
	}

}
